MAINTAINERCLEANFILES = Makefile.in

SUBDIRS= .

DATATOPDIR = $(datadir)/$(PACKAGE_NAME)/scripts

FLISTS = mind logrotation bsd-init\
             solaris-init systemv-init

EXTRA_DIST = mind.in logrotation.in bsd-init.in\
             solaris-init.in systemv-init.in

install-data-local: 
	$(mkinstalldirs) $(DESTDIR)$(DATATOPDIR) && \
	for l in $(FLISTS) ; do \
		echo "$(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l"; \
		$(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l; \
	done

uninstall-local:
	for l in $(FLISTS) ; do \
		rm -f $(DESTDIR)$(DATATOPDIR)/$$l ; \
	done

